package com.intellagric.agriecom.service.recommend.utils;

import java.util.UUID;

public class UUIDUtils {

    /**
     * 返回大写不带"-"的UUID
     * @return
     */
    public static String getUUID() {
        return getOriginUUID().replace("-", "").toUpperCase();
    }

    /**
     * 返回原始标准的UUID
     * @return
     */
    public static String getOriginUUID() {
        return UUID.randomUUID().toString();
    }
}
